<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>新增记录</title>
<link rel="stylesheet" type="text/css"
	href="<c:url value='/css/addOrder.css'/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value='/css/bootstrap.min.css'/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value='/css/kkpager_orange.css'/>">
<link rel="stylesheet" type="text/css"
	href="<c:url value='/css/success.css'/>">
<script src="<c:url value='/js/jquery-1.11.1.min.js'/>"></script>
<script src="<c:url value='/js/bootstrap-datetimepicker.js'/>"></script>
<script src="<c:url value='/js/bootstrap-datetimepicker.zh-CN.js'/>"></script>
<script src="<c:url value='/js/extendPagination.js'/>"></script>
<script src="<c:url value='/js/util.js'/>"></script>
<script src="<c:url value='/js/bootstrap.js'/>"></script>
<script src="<c:url value='/js/kkpager.min.js'/>"></script>
<style type="text/css">
</style>
</head>
<jsp:include page="head.jsp" flush="true" />
<form class="form-horizontal" role="form"
	action="/MyArtifact/order/saveOrder.action">
	<div class="form-group">
		<label for="name" id="rec_custommem"
			style="margin-left: 135px; float: left;">客户人员</label> <select
			class="form-control" style="width: 161px; margin-left: 225px;"
			name="userId">
			<c:if test="${not empty cumlist}">
				<c:forEach items="${cumlist}" var="list">
					<option value="${list.id}"
						<c:if test="${list.id==order.userId }" >selected="selected"</c:if>>${list.userName}</option>
				</c:forEach>
			</c:if>
		</select> <label for="firstname" class="col-sm-2 control-label">订单金额</label>
		<div class="col-sm-10">
			<input name="id" value="${order. id }" type="hidden"> <input
				type="text" class="form-control" name="orderMoney"
				value="${order. orderMoney }" placeholder="请输入金额"
				style="width: 161px">
		</div>
		<!-- 	<label for="firstname" class="col-sm-2 control-label">客户地址</label>
		<div class="col-sm-10">
			<input type="text" class="form-control" name="customAddress" 
				placeholder="请输入金额" style="width: 161px">
		</div> -->
		<label for="firstname" class="col-sm-2 control-label">订单备注</label>
		<div class="col-sm-10">
			<textarea class="form-control" rows="5" placeholder="请输备注"
				value="${order. orderDescribe }" name="orderDescribe">${order. orderDescribe }</textarea>
		</div>
		<label for="name" style="margin-left: 135px; float: left">订单人员</label>
		<select class="form-control" name="liableId"
			style="width: 161px; margin-left: 225px;">
			<c:if test="${not empty lialist}">
				<c:forEach items="${lialist}" var="list">
					<option value="${list.id}" <c:if test="${list.id==order.liableId }" >selected="selected"</c:if>>${list.userName}</option>
				</c:forEach>
			</c:if>
		</select> <label for="name" style="margin-left: 135px; float: left;">订单状态</label>
		<select class="form-control" name="orderType"
			style="width: 161px; margin-left: 225px;">
			<option value="1" <c:if test="${1==order.orderType }" >selected="selected"</c:if>>待付款</option>
			<option value="2" <c:if test="${2==order.orderType }" >selected="selected"</c:if>>已付款</option>
			<option value="3" <c:if test="${3==order.orderType }" >selected="selected"</c:if>>定金</option>
		</select>

		<div class="col-sm-offset-2 col-sm-10">
			<dev style="padding-right: 50px">
			<button type="submit" class="btn btn-default">确定</button>
			</dev>
		</div>
	</div>
</form>
</html>
